using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;   
using System.Data.Linq.Mapping;
using System.ComponentModel;
namespace MRSite.Entity  
{  
	 [Table(Name = "product_albums")] 
	 public class ProductAlbums : Entity
	{ 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; } 

		/// <summary>
		///商品ID
		/// </summary>
		[Column(Name = "product_id")]
		public int product_id{ get; set; } 

		/// <summary>
		///缩略图地址
		/// </summary>
		[Column(Name = "thumb_path")]
		public String thumb_path{ get; set; } 

		/// <summary>
		///原图地址
		/// </summary>
		[Column(Name = "original_path")]
		public String original_path{ get; set; } 

		/// <summary>
		///图片描述
		/// </summary>
		[Column(Name = "remark")]
		public String remark{ get; set; } 

		/// <summary>
		///上传时间
		/// </summary>
		[Column(Name = "add_time",IsDbGenerated=true)]
		public DateTime add_time{ get; set; }

        /// <summary>
        ///0电脑端，1手机端
        /// </summary>
        [Column(Name = "site"), DefaultValue(0)]
        public int site { get; set; }

        /// <summary>
        /// 店铺id
        /// </summary>
        [Column(Name = "shopid"), DefaultValue(0)]
        public int shopid { get; set; }
	 } 
}    


